<?php

namespace app\common\validate;

class IDMustBePositiveInt extends BaseValidate
{
    protected $rule = [
        'id' => 'require|isPositiveInteger',
    ];


    protected $message = [
        'id.require' => '参数缺失',
        'id.isPositiveInteger' => 'id必须为正整数',
    ];
}